import './App.css';
import React from 'react';
import { Provider } from 'react-redux';
import RouterIndex from './router/index.jsx'
import { store, persistor } from './redux/store'
import { PersistGate } from 'redux-persist/integration/react'


function App() {
 
  return (
    <div className="App">
      <Provider store={store}>
        <PersistGate loading={null} persistor={persistor}>
        <RouterIndex/>
        </PersistGate>
      </Provider>
    </div>
  );
}

export default App;
